//
//  SuperController.m
//  PetExchange
//
//  Created by zhibao on 2022/9/26.
//

#import "SuperController.h"
@interface SuperController ()

@end

@implementation SuperController

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.navigationController.navigationBar.hidden = YES;
    [MYGlobal share].lastVC = self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.gk_statusBarStyle = UIStatusBarStyleLightContent;
    self.gk_backImage = [UIImage imageNamed:@"arrow_back_white"];
    [self hideNavLine];
    self.gk_navTitleColor = [UIColor whiteColor];
    if (IS_IPAD) {
        self.gk_navTitleColor = UIColor.clearColor;
    }
    self.gk_navTitleFont = MY_SCALE_SemiboldFONT(17);
    self.gk_navBackgroundColor = MyColorAlpha(@"ffffff", 0.01);
    self.view.backgroundColor =ThemeColor;
    if (@available(iOS 15.0, *)) {
        UITableView.appearance.sectionHeaderTopPadding = 0.0;
    } else {
        // Fallback on earlier versions
    }
    self.bgImgView = [[UIImageView alloc]initWithFrame:self.view.bounds];
    self.bgImgView.image = [UIImage imageNamed:@"basebg.jpg"];
    self.bgImgView.clipsToBounds = YES;
    self.bgImgView.contentMode = UIViewContentModeScaleAspectFill;
    [self.view addSubview:self.bgImgView];
};
@end
